<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="bb" class="weaver.general.BaseBean"/>
<%
    String xfdwmcs = Util.null2String( request.getParameter( "xfdwmcs" ) );
    JSONObject jsonData = new JSONObject();
    String sql = "select jzx from uf_jzxxx ";
    rs.executeQuery( sql );
    boolean flag = true;
    String msg = "";
    while (rs.next()) {
        String jzx = Util.null2String( rs.getString( "jzx" ) );
        if (xfdwmcs.contains( jzx )) {
            flag = false;
            msg = "提示：销方单位名称不允许出现禁止项";
        }
    }
    jsonData.put( "flag", flag );
    jsonData.put( "msg", msg );
    out.print( jsonData.toJSONString() );
    bb.writeLog( "getProhibitedItems_Ajax=" + jsonData.toJSONString() );
%>


